package io.bsly.modules.app.service.localmaster;

import com.baomidou.mybatisplus.extension.service.IService;
import io.bsly.common.utils.PageUtils;
import io.bsly.common.utils.R;
import io.bsly.modules.app.entity.localEntity.DyOrderEntity;
import io.bsly.modules.app.pojo.OrderSubmitVo;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 用户订单
 *
 * @author fys
 * @email demo@gmail.com
 * @date 2021-09-27 10:00:13
 */
public interface DyOrderService extends IService<DyOrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R saveOrder(OrderSubmitVo orderVo, HttpServletRequest request);

    R cancelOrder(String dyOrder);

    R forceCancelOrder(String dyOrder);
}

